package demo1;

public class StringDemo1 {

	public static void main(String[] args) {
		String name = "张三";
		String name1 = "张三";
		System.out.println(name==name1);
		String name2 = new String("张三");
		String name3 = new String("张三");
		System.out.println(name3==name2);
				
	}
}
